package com.four.hospital.service.impl;

import com.four.hospital.dao.LevelDao;
import com.four.hospital.entity.Level;
import com.four.hospital.service.LevelService;
import com.four.hospital.vo.LevelVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:wsy
 * @Date: 2022/01/07/9:11
 * @Description
 */
@Service
public class LevelServiceImpl implements LevelService {

    @Autowired
    private LevelDao levelDao;

    /**
     * 根据科室id查询等级信息
     * @param depId
     * @return
     */
    @Override
    public List<LevelVo> levelList(Integer depId,Integer hosId) {
        return levelDao.levelList(depId,hosId);
    }
}
